package com.woniuxy.service.impl;

import com.woniuxy.dao.ManagerDao;
import com.woniuxy.entity.User;
import com.woniuxy.service.RbacManagerService;

import java.util.List;

/**
 * @ClassName RbacManagerServiceImpl
 * @Description TODO
 * @Author LI.hh
 * @Date 2022/8/20 10:02
 * @Version 1.0
 */
public class RbacManagerServiceImpl implements RbacManagerService {
    private ManagerDao managerDao;

    public ManagerDao getManagerDao() {
        return managerDao;
    }

    public void setManagerDao(ManagerDao managerDao) {
        this.managerDao = managerDao;
    }

    @Override
    public List<User> findAll() {
        return managerDao.findAll();
    }
}
